package com.ruoyi.adopt.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 领养/送养对象 pet
 *
 * @author ruoyi
 * @date 2022-02-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ad_pet")
public class Pet extends BaseEntity
{ private static final long serialVersionUID = 1L;

    /** id */
    @TableId(value="pet_id")
    private Long petId;

    /** 昵称 */
    @Excel(name = "昵称")
    private String petName;

    /** 性别 */
    @Excel(name = "性别")
    private String petSex;

    /** 年龄 */
    @Excel(name = "年龄")
    private String petAge;

    /** 健康状况 */
    @Excel(name = "健康状况")
    private String petHealth;

    /** 性格 */
    @Excel(name = "性格")
    private String petCharacter;

    /** 品种 */
    @Excel(name = "品种")
    private String petKind;


    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    @TableField(exist = false)
    private String deptName;

    public String getCurrentUserId() {
        return currentUserId;
    }

    public void setCurrentUserId(String currentUserId) {
        this.currentUserId = currentUserId;
    }

    @TableField(exist = false)
    private String currentUserId;

    /** 补充信息：可填写赠品、送养原因、要求的领养条件、宠物描述信息等。 */
    @Excel(name = "补充信息：可填写赠品、送养原因、要求的领养条件、宠物描述信息等。")
    private String petSupplement;

    /** 是否收取费用 */
    private String petSell;

    /** 价格 */
    @Excel(name = "价格")
    private String petPrice;

    /** 照片 */
    private String petPhoto;

    /** 地址 */
    @Excel(name = "地址")
    private String petAddress;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String petContact;

    /** 来源 */
    @Excel(name = "来源")
    private String petSource;

    /** 编号 */
    @Excel(name = "编号")
    private String petNumber;

    /** 创建人id */
    private Long createUserId;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUserName;

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;

    @Override
    public Date getUpdateTime() {
        return updateTime;
    }

    @Override
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateTime;

    /** 是否已删除 */
    private String isDelete;

    /** 已被领养 */
    private String isAdopted;

    public String getHairColor() {
        return hairColor;
    }

    public void setHairColor(String hairColor) {
        this.hairColor = hairColor;
    }

    /** 宠物毛色 */
    @Excel(name = "宠物毛色")
    private String hairColor;

    public String getImmuneCondition() {
        return immuneCondition;
    }

    public void setImmuneCondition(String immuneCondition) {
        this.immuneCondition = immuneCondition;
    }

    /** 免疫情况 */
    @Excel(name = "免疫情况")
    private String immuneCondition;

    public String getSterilizationSituation() {
        return sterilizationSituation;
    }

    public void setSterilizationSituation(String sterilizationSituation) {
        this.sterilizationSituation = sterilizationSituation;
    }

    /** 绝育情况 */
    @Excel(name = "绝育情况")
    private String sterilizationSituation;

    public void setPetId(Long petId)
    {
        this.petId = petId;
    }

    public Long getPetId()
    {
        return petId;
    }
    public void setPetHealth(String petHealth)
    {
        this.petHealth = petHealth;
    }

    public String getPetHealth()
    {
        return petHealth;
    }
    public void setPetName(String petName)
    {
        this.petName = petName;
    }

    public String getPetName()
    {
        return petName;
    }
    public void setPetSex(String petSex)
    {
        this.petSex = petSex;
    }

    public String getPetSex()
    {
        return petSex;
    }
    public void setPetAge(String petAge)
    {
        this.petAge = petAge;
    }

    public String getPetAge()
    {
        return petAge;
    }
    public void setPetCharacter(String petCharacter)
    {
        this.petCharacter = petCharacter;
    }

    public String getPetCharacter()
    {
        return petCharacter;
    }
    public void setPetKind(String petKind)
    {
        this.petKind = petKind;
    }

    public String getPetKind()
    {
        return petKind;
    }
    public void setPetSupplement(String petSupplement)
    {
        this.petSupplement = petSupplement;
    }

    public String getPetSupplement()
    {
        return petSupplement;
    }
    public void setPetSell(String petSell)
    {
        this.petSell = petSell;
    }

    public String getPetSell()
    {
        return petSell;
    }
    public void setPetPrice(String petPrice)
    {
        this.petPrice = petPrice;
    }

    public String getPetPrice()
    {
        return petPrice;
    }
    public void setPetPhoto(String petPhoto)
    {
        this.petPhoto = petPhoto;
    }

    public String getPetPhoto()
    {
        return petPhoto;
    }
    public void setPetAddress(String petAddress)
    {
        this.petAddress = petAddress;
    }

    public String getPetAddress()
    {
        return petAddress;
    }
    public void setPetContact(String petContact)
    {
        this.petContact = petContact;
    }

    public String getPetContact()
    {
        return petContact;
    }
    public void setPetSource(String petSource)
    {
        this.petSource = petSource;
    }

    public String getPetSource()
    {
        return petSource;
    }
    public void setPetNumber(String petNumber)
    {
        this.petNumber = petNumber;
    }

    public String getPetNumber()
    {
        return petNumber;
    }

    public void setCreateUserId(Long createUserId)
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId()
    {
        return createUserId;
    }
    public void setCreateUserName(String createUserName)
    {
        this.createUserName = createUserName;
    }

    public String getCreateUserName()
    {
        return createUserName;
    }
    public void setIsDelete(String isDelete)
    {
        this.isDelete = isDelete;
    }

    public String getIsDelete()
    {
        return isDelete;
    }

    public void setIsAdopted(String isAdopted)
    {
        this.isAdopted = isAdopted;
    }

    public String getIsAdopted()
    {
        return isAdopted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("petId", getPetId())
                .append("petName", getPetName())
                .append("petSex", getPetSex())
                .append("petAge", getPetAge())
                .append("petHealth", getPetHealth())
                .append("petCharacter", getPetCharacter())
                .append("petKind", getPetKind())
                .append("petSupplement", getPetSupplement())
                .append("petSell", getPetSell())
                .append("petPrice", getPetPrice())
                .append("petPhoto", getPetPhoto())
                .append("petAddress", getPetAddress())
                .append("petContact", getPetContact())
                .append("petSource", getPetSource())
                .append("petNumber", getPetNumber())
                .append("createUserId", getCreateUserId())
                .append("createUserName", getCreateUserName())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("isDelete", getIsDelete())
                .append("isAdopted", getIsAdopted())
                .append("hairColor", getHairColor())
                .append("immuneCondition", getImmuneCondition())
                .append("sterilizationSituation", getSterilizationSituation())
                .toString();
    }
}
